﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Text;

namespace HT.Future.Entities
{
    /// <summary>
    /// 商品属性
    /// </summary>
    [Table("T_ProductAttribute")]
    public class ProductAttribute : BaseEntity
    {
        /// <summary>
        /// 属性标题
        /// </summary>
        public string Title { get; set; }
        /// <summary>
        /// 属性描述
        /// </summary>
        public string Desc { get; set; }
        /// <summary>
        /// 商品id
        /// </summary>
        [Required]
        public int ProductId { get; set; }
        /// <summary>
        /// 商品对象
        /// </summary>
        public virtual Product Product { get; set; }

    }
}
